Skip to content

val: centralize log indentation handling - #496

Merged
chetan-rathore merged 1 commit into
ARM-software:mainfrom
rajatgoyal47:main
Aug 10, 2026
Merged

val: centralize log indentation handling#496
chetan-rathore merged 1 commit into
ARM-software:mainfrom
rajatgoyal47:main

Conversation

@rajatgoyal47

Copy link
Copy Markdown
Collaborator

Treat a leading newline as the marker for a new log record, and keep
strings without a leading newline as continuation prints.

Move common indentation handling into the VAL logger and PAL print paths.
For new log records, skip existing caller-side indentation after '\n',
apply the active rule indent, and emit severity prefixes consistently.

Clean up legacy call sites that would otherwise bypass the common handling,
including trailing-newline-only prints, embedded newline formatting, and
direct banner/header prints.

No functional test logic changes are intended; this change is limited to
logging behavior and output formatting cleanup.

Change-Id: I9ee7e226fccbedcc432a6f72f8fa38e8885ad86c

  Treat a leading newline as the marker for a new log record, and keep
  strings without a leading newline as continuation prints.

  Move common indentation handling into the VAL logger and PAL print paths.
  For new log records, skip existing caller-side indentation after '\n',
  apply the active rule indent, and emit severity prefixes consistently.

  Clean up legacy call sites that would otherwise bypass the common handling,
  including trailing-newline-only prints, embedded newline formatting, and
  direct banner/header prints.

  No functional test logic changes are intended; this change is limited to
  logging behavior and output formatting cleanup.

Change-Id: I9ee7e226fccbedcc432a6f72f8fa38e8885ad86c
@chetan-rathore
chetan-rathore merged commit e2aedbe into ARM-software:main Aug 10, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants